﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="SanPham.aspx.cs" Inherits="SanPham" %>
<asp:Content ID="content1" ContentPlaceHolderID="MainContent" runat="server">
<div id="main-content">
     <asp:DataList id="DataList1" runat="server" Width="100%" 
         onselectedindexchanged="DataList1_SelectedIndexChanged">
     <ItemTemplate>
        <table cellpadding=5 cellspacing = 0 width="100%" border = 1> <tr><td> <asp:ImageButton id="ImageButton1" runat="server" __designer:wfdid="w44" CommandArgument='<%# Eval("masanpham") %>' ImageUrl='<%# Eval("url") %>' Height="110px" Width="100px" BorderStyle="Outset" BorderWidth="1px" BorderColor="Red" OnClick="BuyProduct"></asp:ImageButton> </td><td style="width:150px;"><%#Eval("TenSanPham") %></td><td><%#Eval("GiaSanPham") %></td><td> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%#"Muahang.aspx?sanpham=" + Eval("masanpham")%>'>Mua !</asp:HyperLink></td></tr></table>
     </ItemTemplate>
     </asp:DataList>
</div>
</asp:Content>


